package com.medical.data.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class FormItemSortVo {


    /**
     * 表单Id
     */
    @NotBlank(message = "表单id不可为空")
    @ApiModelProperty(value = "表单id")
    private String formTemplateId;

    @ApiModelProperty(value = "向前查询排序")
    private Long beforePosition;
    @ApiModelProperty(value = "向后查询排序")
    private Long afterPosition;
    @ApiModelProperty(value = "组件id")
    @NotBlank(message = "组件id不可为空")
    private String formItemId;

}
